Skip to content

mps-cli-py: complete binary (.mpb) persistency implementation#54

Draft
Prithvi686 wants to merge 14 commits intomainfrom
feature/E3AARCHAI-23018_enhance_mps_cli_py_with_support_for_binary_persistency
Draft

mps-cli-py: complete binary (.mpb) persistency implementation#54
Prithvi686 wants to merge 14 commits intomainfrom
feature/E3AARCHAI-23018_enhance_mps_cli_py_with_support_for_binary_persistency

Conversation

@Prithvi686
Copy link
Collaborator

Implemented full support for binary (.mpb) model persistency:

  • Added model header, registry, imports, and node parsing

  • Implemented reference handling and resolve support

  • Ensured correct parent/containment relationships

  • Added comprehensive unit and integration tests

ratiud and others added 11 commits December 23, 2025 11:10
- Refactored binary persistency implementation to
  separate constants, low-level reader utilities.
- Fixed model header parsing to correctly handle
  model-reference kind vs model-id kind according
  to MPS binary persistency format.
- Correctly reconstruct model UUID with 'r:' prefix.
- Updated low-level test expectations to reflect fully-
  qualified model names.
… persistency and added low-level tests covering imports
… read_reference

- Integrated node loading into
  SModelBuilderBinaryPersistency
- Added root_nodes structure
- Extended tests to validate full model tree parsing
…rchitecture

- Removed registry dict usage
- Integrated index_2_* maps from base builder
- Construct real SConcept, SProperty, SNode instances
- Unified binary builder structure with XML persistency
- Updated tests to validate object-based model structure
- Implement full binary (.mpb) model parsing
- Load model header, registry, used languages and imports
- Build concept/property/reference/containment index maps
- Parse node tree including containment roles and properties
- Added support for reference kind validation and resolve_info
- Applied node id encoding during parsing
- Added repository-level completeness and resolution tests
@Prithvi686 Prithvi686 marked this pull request as draft February 12, 2026 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants